// ComponentLibrary.less
.component-library-container {
    background: #fff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  
    .ant-collapse {
      border: none;
      background: transparent;
  
      &-item {
        border: none !important;
        margin-bottom: 12px;
  
        .collapse-header {
          padding: 8px 12px;
          background: #f8fafc;
          border-radius: 8px;
          transition: all 0.2s;
        }
  
        .ant-collapse-content {
          border: none;
          background: transparent;
          
          &-box {
            padding: 16px 0 !important;
          }
        }
      }
    }
  
    .component-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      padding: 0 8px;
    }
  
    .collapse-arrow {
      transition: all 0.2s;
      transform: rotate(0deg);
      
      &.active {
        transform: rotate(180deg);
      }
    }
  
    .component-button {
      background: white;
      border: 1px solid #e2e8f0;
      border-radius: 8px;
      padding: 12px;
      cursor: pointer;
      transition: all 0.2s;
      position: relative;
      overflow: hidden;
  
      &:hover {
        transform: translateY(-2px);
        border-color: #818cf8;
        box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
  
        &::before {
          opacity: 1;
        }
      }
  
      &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(129, 140, 248, 0.1) 0%, rgba(99, 102, 241, 0.05) 100%);
        opacity: 0;
        transition: opacity 0.2s;
      }
  
      .button-inner {
        display: flex;
        align-items: center;
        gap: 8px;
      }
  
      .button-icon {
        color: #6366f1;
        font-size: 16px;
      }
  
      .button-text {
        color: #1e293b;
        font-size: 13px;
        font-weight: 500;
        white-space: nowrap;
      }
    }
  }
  